import request from '@/router/axios';
import { baseUrl } from '@/config/env';

/* 个人月度异常考勤综合数据 */
export const monthRecord  = (param) => request({
    url: baseUrl + '/schedual/owner/web/month_record',
    method: 'get',
    params: param
});

/* 个人某月出勤天数数据 表格 */
export const monthCount  = (param) => request({
    url: baseUrl + '/schedual/owner/web/month_count',
    method: 'get',
    params: param
});

/* 个人月度考勤详情 */
export const monthRecordInfo  = (param) => request({
    url: baseUrl + '/schedual/user/web/month_record_info',
    method: 'get',
    params: param
});

/* 考勤组异常考勤综合数据 */
export const groupMonthRecord  = (param) => request({
    url: baseUrl + '/schedual/group/web/month_record_count',
    method: 'get',
    params: param
});

/* 考勤组月度出勤天数 表格 */
export const groupMonthSimple  = (param) => request({
    url: baseUrl + '/schedual/group/web/month_record_simple',
    method: 'get',
    params: param
});

/* 部门异常考勤综合数据 */
export const deptMonthRecord  = (param) => request({
    url: baseUrl + '/schedual/dept/web/month_record_count',
    method: 'get',
    params: param
});

/* 部门月度出勤天数 表格 */
export const deptMonthSimple  = (param) => request({
    url: baseUrl + '/schedual/dept/web/month_record_simple',
    method: 'get',
    params: param
});
